<?php

namespace App\Repository\RepositoryInterface;

interface CouponInterface
{
    public function modification($discountData, $id);

    public function listview($where);

    public function delete($id);

    public function read($id);

    public function attachedUpdate($attachedData, $id);

    public function userList($id,$status);

    public function useradd($id, $couponId);

    public function changeStatus($id, $status);

    public function getGoods();

    public function checkStatus($uid,$data);

    public function productDiscount($id);

    public function add($data);

    public function goodsDiscount();

    public function goodsChange($uid,$goodsId);

    public function esSearch($title);

    public function userCoupon($id);

    public function myList($id,$status);

}
